package com.sxbbc.common.core.enums;

/**
 * 活动支付 账户选择 枚举
 * |- 1.为true的表示扣取该账户的相关余额
 * |- 2.请勿同时设置true，请勿随意更改！！！
 * @author leehao
 * @date 2019-07-09
 */
public enum AccountPayEnums {
    BUSINESS_ACCOUNT("商家账户支付",false),
    CUSTOMER_ACCOUNT("用户账户支付",true);

    private String name;
    private boolean valid;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isValid() {
        return valid;
    }

    public void setValid(boolean valid) {
        this.valid = valid;
    }

    AccountPayEnums(String name, boolean valid) {
        this.name = name;
        this.valid = valid;
    }
}
